package com.gd.iot.energy.pojo.superadmin.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 角色新增、更新的dto
 *
 * @author kris
 * @date Created at 2020/8/3 15:57
 */
@Setter
@Getter
public class RoleSaveDTO {
    /**
     * @fieldName: id
     * @fieldType: Integer
     * @Description:
     */
    @ApiModelProperty(value = "", hidden = false)
    private Integer id;

    /**
     * @fieldName: name
     * @fieldType: String
     * @Description: 角色名称
     */
    @ApiModelProperty(value = "角色名称", hidden = false)
    private String name;

    /**
     * @fieldName: description
     * @fieldType: String
     * @Description: 角色描述
     */
    @ApiModelProperty(value = "角色描述", hidden = false)
    private String description;

    /**
     * @fieldName: areaIds
     * @fieldType: String
     * @Description: 区域id列表
     */
    @ApiModelProperty(value = "区域id列表", hidden = false)
    private List<Long> areaIds;

    /**
     * @fieldName: equipmentmodelIds
     * @fieldType: String
     * @Description: 设备型号列表
     */
    @ApiModelProperty(value = "设备型号列表", hidden = false)
    private List<Long> equipmentmodelIds;

    /**
     * @fieldName: authorities
     * @fieldType: String
     * @Description: 权限列表
     */
    @ApiModelProperty(value = "权限列表", hidden = false)
    private List<Integer> permissionIds;
}
